<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>经典博客CRUD</title>
    <style>
        table{
            margin: auto;
            border: 1px solid;
            border-spacing: 0px;
        }
    </style>
</head>
<body>
    <div>
        <table>
            <tr>
                <td>
                    <input type="text" placeholder="查找博客标题、摘要、内容、分类、作者" id="keyword"/>
                </td>
                <td>
                    <input type="button" value="查找" onclick="query()" />
                </td>
                <td>
                    <input type="button" value="添加" onclick="add()" />
                </td>
            </tr>
        </table>
        <table id="tbData" border="1px solid">
            <tr>
                <td>ID</td>
                <td>标题</td>
                <td>摘要</td>
                <td>内容</td>
                <td>分类</td>
                <td>作者</td>
                <td>发表时间</td>
                <td>操作</td>
            </tr>
        </table>
    </div>

    <script src="./js/jquery-3.6.0.min.js" ></script>
    <script src="./js/product.js" ></script>
    <script src="./js/init.js" ></script>
</body>
</html>